package homework3;

public class BenzFactory implements CarFactory{
    //定义Benz工厂类
    @Override
    public void produceCar() {
        System.out.println("奔驰公司生产奔驰汽车...");
    }
}
